<!DOCTYPE html>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="robots" content="all">
<meta charset="utf-8">
<meta name="description" content="点点贷贷款专栏专注于为个人和企业提供2013年最新的贷款利息查询、小额贷款、个人贷款、商业贷款、短期借款期限、汽车抵押贷款、房屋抵押贷款、信用贷款、申请贷款条件等贷款咨询服务。">
<meta name="keywords" content="贷款利率,小额贷款,无抵押贷款,p2p贷款，借钱,长期借款">
<title>快速申请 -点点贷</title>
<meta name="Robots" content="index,follow">
<meta property="wb:webmaster" content="ac04ec3477e29c81">
<meta property="qc:admins" content="1533374623661774116375">

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">


<link href="/css/common.css" rel="stylesheet" type="text/css"> 
<link href="/css/sea.css" rel="stylesheet" type="text/css">
<link href="/css/style.css" rel="stylesheet" type="text/css">

<link rel="stylesheet" type="text/css" href="/css/webstyle2.css">
<link href="/css/wyjk.css" rel="stylesheet" type="text/css">

<script src="http://libs.baidu.com/jquery/1.9.0/jquery.js"></script>
<script>
   /* $('#applyForm').submit(function(){
        var patt;
        var check = true;
        if( $('#age').val() == 0 ){
            alert('请选择正确的年龄');
            return false;
        }

        patt = /^[1-9]\d{1,7}$/;
        if( !patt.test( $('#loanAmount').val() ) ){
            alert('请输入正确的金额');
            return false;
        }

        patt = /1[34578]\d{9}/;
        if( !patt.test( $('#mobile').val() ) ){
            alert('请输入正确的手机号');
            return false;
        }

        $.ajax(
            type:"POST",
            url:'/bid/massagecheck',
            processData:false,
            data:$('#fucode').val()&$('#imgc').val(),
            success:function(res){
                if(res == 0){
                    check = false;
                }
            });

        return check;

    });
*/
    function putyzm(){
        console.log(1);
        var data = '/bid/massage/'+ $('#mobile').val();
        console.log(data);
        $.get(data,function(res){
            console.log(res);
            console.log(33);
        });
    }

    function change(){
        $('#imgc').attr('src','/captcha?id='+Math.floor(Math.random()*10));
    }
</script>

</head>

<body>
<!--header start-->
@include('My.header')
<!--header end-->


<form id="applyForm" name="applyForm" action="" method="POST">
 <div class="application">
        <figure class="banner"></figure>
        <div class="delCon">
        
            <h1>快速申请</h1>
            {!! csrf_field() !!}

            <div class="iptBox">
                <span>真实年龄</span>
                <select class="ageBox" id="age" name="age">
                    <option selected="selected" value="0">请选择年龄段</option>
                    <option value="15">23岁以下</option>
                    <option value="40">23岁-55岁</option>
                    <option value="80">55岁以上</option>
                </select>
                <p id="ageError" style="display: block;" class="error">{{$errors->first('age')}}</p>
            </div>

            <div class="iptBox">
                <span>借款金额</span>
                <input id="loanAmount" name="money" maxlength="8" placeholder="请输入借款金额" type="text" value="{{old('money')}}">
                <p style="display: block;" id="amountError" class="error">{{$errors->first('money')}}</p>
            </div>
            <div class="iptBox">
                <span>手机号码</span>
                <input id="mobile" name="mobile" value="{{$mobile}}" maxlength="11" type="text">
                <p id="mobileError" style="display: block;" class="error">{{$errors->first('mobile')}}</p>
            </div>
            <div class="iptBox">
                <span class="message">图形验证码</span>
                <input class="short" name="imgcode" id="imgcode" placeholder="请输入图形验证码" type="text">
                <img src="/captcha" name="imgc" id="imgc" alt="换一张" class="get-code" height="36" width="80" onclick="change()">
                <p id="imgcodeError" class="error">图形验证码错误，请重新输入</p>
            </div>
            <div class="iptBox">
                <span class="message">短信验证码</span>
                <input class="short" name="verify" id="fucode" placeholder="请输入短信验证码" type="text">
                <i><a href="javascript:;" class="get-code" id="dtmbtn" name="dtmbtn" onclick="putyzm()">获取验证码</a></i>
            </div>
            <input class="applyBtn" value="立即申请" id="save" type="submit">
        </div>
    </div>
</form>

<!--foot start-->
<!--foot Start-->
@include('My.footer')
<!-- weixin start -->
<!-- weixin end -->
<!--foot End-->
<!--foot end-->
<link href="/css/grey2013.css" rel="stylesheet"> 

<!--时间  s-->

<link href="/css/jquery-ui.css" rel="stylesheet" type="text/css"> 

<!--时间  e-->
 
-静态化 - 头部内容--



<style>
.foot1 .out .r .line2{
	margin-top: 0;
}
.foot2 .out .line2{
 	border-bottom: none;
    margin-top: 0;
}
</style>


</body>

</html>